package com.xhlj.error;


import com.xhlj.utils.Result;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class ErrorHandler {
    /*先关了,不然根本找不到错*//*   @ExceptionHandler(Exception.class)
    public Result handlerException(Exception ex){
        return Result.build(null,400,ex.getMessage());
    }
}*/
}